<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>测试框架内显示页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    

	<link rel="stylesheet" type="text/css" href="/style/iframemain/iframemain.css">

	<script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script> 
	<script type="text/javascript" src="/js/jquery.tablesorter.min.js"></script>
	<script type="text/javascript" src="/js/jquery.metadata.js"></script>
	<script type="text/javascript">
	$.tablesorter.defaults.widgets = ['zebra'];
	$(document).ready(function(){$("#test").tablesorter();}); 
	</script>
</head>

<body>
        <!-- 搜索框 -->
        <table border="0" style="margin-top: 10px;width:100%;background: green;">
		  <tr>
		    <td >123</td>
		  </tr>
		</table>
		<table border="0" style="margin-top: 10px;width:100%">
		  <tr>
		    <td ><div class="ptotal"><a href="">添加用户</a></div><div style="float: right;"><input type="text" name="name"><input type="submit" value="查询"></div></td>
		  </tr>
		</table>
		
		<table cellspacing="1" class="tablesorter" id="test">
 			 <thead>
				<tr>
				    <th width="5%">编号</th>
				    <th width="10%">用户名</th>
				    <th width="7%">级别</th>
				    <th width="8%">状态</th>
				    <th width="7%">性别</th>
				    <th width="10%">真实姓名</th>
				    <th width="10%">电话</th>
				    <th width="10%">手机</th>
				    <th width="13%">QQ</th>
				    <th width="5%" class="{sorter: false}">禁用</th>    
				    <th width="5%" class="{sorter: false}">启用</th>
				    <th width="5%" class="{sorter: false}">修改</th>    
				    <th width="5%" class="{sorter: false}">删除</th>	
				</tr>
			</thead>
			<tbody>
			  <tr>
			    <td>${rs.faid }</td>  
			    <td>${rs.faname }</td>
			    <td>${rs.farank }</td>
			    <td>${rs.falock }</td>
			    <td>${rs.fasex }</td>
			    <td>${rs.farealname }</td>
			    <td>${rs.fatel }</td>
			    <td>${rs.faphone }</td>
			    <td>${rs.faqq }</td>
			    <td><a href="/c/host/hmoadminlock.do?faid=${rs.faid }&falock=lock" title="禁用"><font color="#FF9900">禁用</font></a></td>
			    <td><a href="/c/host/hmoadminlock.do?faid=${rs.faid }&falock=open" title="启用"><font color="#00CC00">启用</font></a></td>
			    <td><a href="/c/host/hmodifyadminquery.do?faid=${rs.faid }" title="修改管理员"><font color="blue">修改</font></a></td>
			    <td><a href="/c/host/hdeladmin.do?faid=${rs.faid }" title="删除管理员"><font color=red>删除</font></a></td>    
			  </tr> 
			  <tr>
			    <td>${rs.faid }</td>  
			    <td>${rs.faname }</td>
			    <td>${rs.farank }</td>
			    <td>${rs.falock }</td>
			    <td>${rs.fasex }</td>
			    <td>${rs.farealname }</td>
			    <td>${rs.fatel }</td>
			    <td>${rs.faphone }</td>
			    <td>${rs.faqq }</td>
			    <td><a href="/c/host/hmoadminlock.do?faid=${rs.faid }&falock=lock" title="禁用"><font color="#FF9900">禁用</font></a></td>
			    <td><a href="/c/host/hmoadminlock.do?faid=${rs.faid }&falock=open" title="启用"><font color="#00CC00">启用</font></a></td>
			    <td><a href="/c/host/hmodifyadminquery.do?faid=${rs.faid }" title="修改管理员"><font color="blue">修改</font></a></td>
			    <td><a href="/c/host/hdeladmin.do?faid=${rs.faid }" title="删除管理员"><font color=red>删除</font></a></td>    
			  </tr>                
			</tbody>
		</table>
		<table border="0" style="margin-top: 10px;width:100%">
		  <tr>
		    <td ><div class="ptotal">共<span>${totalSize}</span>条</div><div class="page">${pageInfo}</div></td>
		  </tr>
		</table>		
</body>
</html>
